package com.eduran.test.main;

import com.eduran.test.model.Jungle_017;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class App_017 {
    public static void main(String[] args) {
        ApplicationContext context = new ClassPathXmlApplicationContext("beans_017.xml");
        Jungle_017 jungle = (Jungle_017)context.getBean("jungle");
        System.out.println(jungle);
        ((ClassPathXmlApplicationContext)context).close();
    }
}
